package com.grade.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.web.bind.annotation.ResponseBody;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Results<T> {
    private  String code;
    private  String msg;
    private  T data;
    private  Long count;

    public Results(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
